package com.xiaochong.tir.common.data.vo;

public class ReturnResult<T> {
	private int code;// 0代表查询成功
	private String msg;
	private Object data;
	private long count;

	public ReturnResult() {
	}

	public ReturnResult(int code, String msg, Object data, long count) {
		this.code = code;
		this.msg = msg;
		this.data = data;
		this.count = count;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public long getCount() {
		return count;
	}

	public void setCount(long count) {
		this.count = count;
	}

}
